Skip to content

test(e2e): Deploy the Box tests with the pinned @aws/agentcore-cdk release, not an L3 build of box-integration - #2977

Open
mquang-amazon wants to merge 1 commit into
v1.xfrom
test/e2e-released-l3
Open

mquang-amazon wants to merge 1 commit into
v1.xfrom
test/e2e-released-l3

Conversation

@mquang-amazon

@mquang-amazon mquang-amazon commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

@aws/agentcore-cdk 1.5.0 deploys Box projects, and v1.x pins it for new projects (src/assets/cdk/package.json). The e2e Box tests therefore no longer need an L3 build of box-integration:

  • The macOS and Linux arm64 runners set AGENTCORE_E2E_BOX_CDK to the version that src/assets/cdk/package.json pins (1.5.0), read from that file, so the tests follow later bumps of the pin.
  • Remove the GitHub App token, the checkout and the pack of agentcore-l3-cdk-constructs, and the l3Ref input of the workflow.
  • e2eTest/README.md: say that any release since 1.5.0 deploys Box projects, and how to test an unreleased L3 build with AGENTCORE_E2E_BOX_CDK=file:<tarball>.

Testing

A full e2e run (all tags, us-west-2) with this workflow, run from a trusted branch: https://github.com/aws/agentcore-cli/actions/runs/46639315252

  • The new step set AGENTCORE_E2E_BOX_CDK: 1.5.0 on macOS and Linux arm64.
  • Linux passed. macOS: 102 passed. Linux arm64: 103 passed. The Box, box-egress, runtime and tui deploy tests passed with the released L3.
  • The one failure on macOS and Linux arm64 was the tui LiteLLM test (cannot import name 'CacheableResult' from 'mcp.types'). That run's branch did not have fix(templates): keep litellm below 1.106.0 in LiteLLM Strands projects #2980, which this branch is based on.
  • Windows: the existing harness beforeAll timeout.

@mquang-amazon
mquang-amazon requested a review from a team December 1, 2026 04:20
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.95%. Comparing base (00e6612) to head (dfe12f2).

Additional details and impacted files
@@               Coverage Diff                @@
##           box-integration    #2977   +/-   ##
================================================
  Coverage            96.95%   96.95%           
================================================
  Files                  780      780           
  Lines                71016    71016           
================================================
+ Hits                 68853    68854    +1     
+ Misses                2163     2162    -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

…lease, not an L3 build of box-integration

@aws/agentcore-cdk 1.5.0 deploys Box projects, and #2976 pins it for new projects. The Box runners
now set AGENTCORE_E2E_BOX_CDK to the version src/assets/cdk/package.json pins, in place of a tarball
built from agentcore-l3-cdk-constructs at the l3Ref input with a GitHub App token. The l3Ref input
goes. A build under test still works locally with AGENTCORE_E2E_BOX_CDK=file:<tarball>.
@mquang-amazon
mquang-amazon changed the base branch from box-integration to v1.x December 1, 2026 11:40
@mquang-amazon
mquang-amazon requested a review from a team December 1, 2026 11:40
@github-actions github-actions Bot added size/s PR size: S and removed size/s PR size: S labels Dec 1, 2026
@agentcore-devx-automation agentcore-devx-automation Bot added the claude-security-reviewing Claude Code /security-review in progress label Dec 1, 2026
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Package Tarball

aws-agentcore-1.4.0.tgz

How to install

gh release download pr-2977-tarball --repo aws/agentcore-cli --pattern "*.tgz" --dir /tmp/pr-tarball
npm install -g /tmp/pr-tarball/aws-agentcore-1.4.0.tgz

@agentcore-devx-automation

Copy link
Copy Markdown
Contributor

Claude Security Review: no high-confidence findings. (run)

@agentcore-devx-automation agentcore-devx-automation Bot removed the claude-security-reviewing Claude Code /security-review in progress label Dec 1, 2026
@github-actions github-actions Bot added size/s PR size: S and removed size/s PR size: S labels Dec 1, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/s PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants